package com.jetseter.bill.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.jetseter.bill.service.BillService;

@Controller
@RequestMapping(value = "/bill")
public class RunBill {
	@Autowired
	private BillService billService;

	@RequestMapping(value = "/go")
    @ResponseBody
    public Object RunRule(HttpServletRequest request) throws Exception {
	
		return 	billService.getMailList();
	}
}
